summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharles Lombardo <clombardo169@gmail.com>2023-12-19 20:40:10 +0100
committerGitHub <noreply@github.com>2023-12-19 20:40:10 +0100
commit345ec255329d572db94827b82d29b995e1c9dd31 (patch)
tree2bccaedb6ab74f8ee4fd2c4be69b89022ccf25c8
parentMerge pull request #12382 from liamwhite/image-limit (diff)
parentyuzu: Read/Save category Paths (diff)
downloadyuzu-345ec255329d572db94827b82d29b995e1c9dd31.tar
yuzu-345ec255329d572db94827b82d29b995e1c9dd31.tar.gz
yuzu-345ec255329d572db94827b82d29b995e1c9dd31.tar.bz2
yuzu-345ec255329d572db94827b82d29b995e1c9dd31.tar.lz
yuzu-345ec255329d572db94827b82d29b995e1c9dd31.tar.xz
yuzu-345ec255329d572db94827b82d29b995e1c9dd31.tar.zst
yuzu-345ec255329d572db94827b82d29b995e1c9dd31.zip
-rw-r--r--src/yuzu/configuration/qt_config.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/yuzu/configuration/qt_config.cpp b/src/yuzu/configuration/qt_config.cpp
index 417a43ec5..a71000b72 100644
--- a/src/yuzu/configuration/qt_config.cpp
+++ b/src/yuzu/configuration/qt_config.cpp
@@ -225,6 +225,8 @@ void QtConfig::ReadPathValues() {
QString::fromStdString(ReadStringSetting(std::string("recentFiles")))
.split(QStringLiteral(", "), Qt::SkipEmptyParts, Qt::CaseSensitive);
+ ReadCategory(Settings::Category::Paths);
+
EndGroup();
}
@@ -405,6 +407,8 @@ void QtConfig::SaveQtControlValues() {
void QtConfig::SavePathValues() {
BeginGroup(Settings::TranslateCategory(Settings::Category::Paths));
+ WriteCategory(Settings::Category::Paths);
+
WriteSetting(std::string("romsPath"), UISettings::values.roms_path);
BeginArray(std::string("gamedirs"));
for (int i = 0; i < UISettings::values.game_dirs.size(); ++i) {